#ifndef CONNECTDB_H
#define CONNECTDB_H
#include<iostream>
#include<mysql/mysql.h>
//int mysql_to_v();
class db
{
    MYSQL *     m_conn ;
	MYSQL_RES * m_res ;
	MYSQL_ROW   m_row ;
public:
    db();
    bool db_init();
    bool db_conn();
    bool dbToList();
    bool listToDb();
    bool free_close_conn();

};//class db
#endif